www.gusucode.com > 基于matlab编程蒙特卡罗仿真设计源码程序 > 基于matlab编程蒙特卡罗仿真设计源码程序/第二讲 MATLAB入门/for1.m
for n=1:10 x(n)=sin(n*pi/10); end x